/* 使用枚举作为接口地址，可以有效防止写错。 */
enum INDEX {
  HOME = "home",
}
enum SCHOOL {
  COLLEGE_INTRODUCE = "CollegeIntroduce",
  VISITOR_INFOMATION = "visitorInfo",
  BOOKING_ORDER = "InsertVisitorOrderServlet",
}
const NAME_REG = /(^[\u4E00-\u9FA5]+)·?([\u4E00-\u9FA5]+$)/   /* 姓名正则 */
const ID_REG = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/   /* 身份证正则 */
const PHONE_REG = /^1[3456789]\d{9}$/     /* 手机号正则 */
export { INDEX, SCHOOL, NAME_REG,ID_REG,PHONE_REG };
